Menu Definition Message and Feature Constants
With Appearance Manager 1.0, the Menu Manager may pass a new constant in the
message
parameter of your menu definition function to specify the action that your function must perform. In response, your menu definition function may report a new feature flag in the
whichItem
parameter.
enum {
kMenuThemeSavvyMsg = 7,
kThemeSavvyMenuResponse = 0x7473
};
Constant descriptions
-
kMenuThemeSavvyMsg
-
Identify whether your menu definition function is theme-compliant. If so, your menu definition function should respond by passing back
kThemeSavvyMenuResponse
in the
whichItem
parameter. The Menu Manager then draws the menu background as appropriate for the current theme.
-
kThemeSavvyMenuResponse
-
If this bit is set, the menu supports the
kMenuThemeSavvyMsg
message.
© 1998 Apple Computer, Inc. - (Last Updated 19 Nov 98)Previous | Back Up One Level | Next |